package com.usian.wemedia.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.usian.model.common.dtos.ResponseResult;
import com.usian.model.media.dtos.WmNewsDto;
import com.usian.model.media.dtos.WmNewsPageReqDto;
import com.usian.model.media.pojos.WmNews;

public interface WmNewsService extends IService<WmNews> {
    /**
     * 查询所有自媒体文章
     * @return
     */
     ResponseResult findAll(WmNewsPageReqDto wmNewsPageReqDto);

     ResponseResult saveNews(WmNewsDto wmNews,Short isSubmit);

    ResponseResult findById(Integer id);

    ResponseResult delNews(Integer id);

     ResponseResult downOrUp(WmNewsDto dto);
}
